<?php
class ControllerModuleTintuc extends Controller
{
	public function index()
	{
		
		$this->load->model('module/tintuc');
		$result=$this->model_module_tintuc->gettintuc();
		$this->data['tieude']=$result['tieude'];
		$this->data['noidung']=$result['noidung'];
		
		
		if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/tintuc.tpl')) {
			$this->template = $this->config->get('config_template') . '/template/module/tintuc.tpl';
		} else {
			$this->template = 'default/template/module/tintuc.tpl';
		}
		
		$this->render();
		
		
	}
}
?>